package com.disease.api.service.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.disease.api.service.entity.BaseDept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS("base")
public interface BaseDeptMapper extends BaseMapper<BaseDept> {

    List<BaseDept> findDeptNamesByDeptCodes(@Param("deptCodes") List<String> deptCodes);

}
